package main.SQL.objects;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SQLDocumentStatus {

    private int statusId;
    private String statusName;
    private String dbName;

    public SQLDocumentStatus() {

    }

    public SQLDocumentStatus(int statusId, String statusName, String dbName) {

        this.statusId = statusId;
        this.statusName = statusName;
        this.dbName = dbName;
    }

    public SQLDocumentStatus(ResultSet rs) throws SQLException {

        this.statusId = rs.getInt("status_id");
        this.statusName = rs.getString("status_name");
        this.dbName = rs.getString("db_name");
    }


}
